home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The X-Philes (2nd Revision)
/
The X-Philes Number 1 (1995).iso
/
xphiles
/
hp95
/
freyja.exe
/
lha
/
FCMDLIST.DOC
< prev
next >
Wrap
Text File
|
1992-04-13
|
13KB
|
329 lines
Freyja Command List
Commands in [[ ]] are not implemented in Freyja (but are in other Emacs
editors used by the author).
Regular Commands:
^@ Place the mark at the point.
^A Move to the beginning of the current line.
^B Move backward one character.
^C Rotate the case of the rest of the word (in in a word) or
previous word. Case rotates as lower -> Capital -> UPPER ->
lower.
^D Delete the following character.
^E Move to the end of the current line.
^F Move forward one character.
^G Abort.
^H Delete the preceding character.
^I Insert a Tab.
^J Insert a line break and indent the new line the same amount as
the current one.
^K Delete the text to the end of the current line; if at the end
of the line, delete the line break; copy the deleted text to
the kill buffer.
^L Center the point at the preferred percentage on the screen.
^M Insert a line break, leaving the point after the break.
^N Move down to the next line, staying in as nearly the same
column as possible.
^O Open line: insert a line break, leaving the point before the
break.
^P Move up to the preceding line, staying in as nearly the same
column as possible.
^Q Quote: Insert the following character as typed.
^R Reverse search: ask for a search string and search backwards
for it. Lowercase letters in the search string match
uppercase letters in the text.
^S Forward search: ask for a search string and search forwards
for it. Lowercase letters in the search string match
uppercase letters in the text.
^T Twiddle: interchange the two characters before the point,
^U Universal argument. There are two forms:
^U ^U .... <cmd> does <cmd> 4, 16, 64, 256, ... times
depending upon the number of ^Us (each
^U is a multiplier by 4)
^U <integer> <cmd> does <cmd> <integer> times
^V View next: move down to the next screen.
^W Delete the text between the point and the mark ("cut"); copy
the deleted text to the kill buffer. With an argument, the
deleted text is NOT copied to the kill buffer.
^X Prefix for the ^X commands listed below.
^Y Yank: copy the contents of the kill buffer to the point. The
mark is left at the start of the yanked text and the point at
the end ("paste").
^Z Move up to the previous screen.
^[ Prefix for the Meta commands listed below.
^\ Delete all white space (indentation) on the current line.
^] Executes the keyboard macro.
^^ Undefined.
^_ [[Suspend the program's execution and return to whatever
invoked the editor.]]
SP ... ~ Insert themselves.
^? UNIX: Delete the preceding character.
MSDOS: Delete the preceding word; copy the deleted text to the
kill buffer.
Control-X (^X) Commands:
^X ^B Display a list of all regular buffers and associated
information. ^U ^X ^B includes system buffers.
^X ^C Exit the editor.
^X ^D DIRED: Ask for a file specification and insert it into the
system buffer. An empty specification lists all files in the
current directory. With an argument, does a "long" list. On
MSDOS systems, you can't just give a directory name, it must
include a file name part.
^X ^E Ask for and execute a system command.
^X ^F Ask for the name of a file and read it into a new buffer
whose name is derived from the file name. On MSDOS systems, if an
argument is given, no ^M ^J to newline or ^Z processing is performed.
^X ^G Abort: cancel ^X prefix.
^X ^H Delete to the beginning of the current sentence.
^X ^I [[Ask for the name of a file and insert it at the point.]]
^X ^L Convert the region to lower case.
^X ^M [[Invoke a subshell.]]
^X ^P [[Print the current file, asking for options.]]
^X ^Q [[avoid using]]
^X ^R Ask for the name of a file and read it into the buffer: used
for refreshing the buffer from the copy on disk. On MSDOS systems,
if an argument is given, no ^M ^J to newline or ^Z processing is
performed.
^X ^S Save the current buffer.
^X ^T [[Return to top-level editing (exit all recursive editors).]]
^X ^U Convert the region to upper case.
^X ^V Move the other window down to the next screen.
^X ^W Ask for the name of a file and write the buffer to that file. On
MSDOS systems, if an argument is given, no newline to ^M ^J
processing is performed.
^X ^X Exchange the point and mark.
^X ^Z Move the other window up to the previous screen.
^X ^\ Trim the trailing whitespace from all lines in the region.
^X # Display the margin settings. With an argument, inserts a ruler
line containing the current settings at the start of the buffer.
^X ( Start collecting a keyboard macro.
^X ) End collecting a keyboard macro.
^X , Set this buffer's tab spacing to the argument, which must be
explicitly provided.
^X . Set this buffer's left margin (indent column) to the argument,
which must be explicitly provided.
^X / Ask for a fill mode for this buffer.
^X 1 One window mode.
^X 2 Two window mode.
^X 3 Two window mode, leave the point in the other window.
^X 8 Treat the argument as the decimal value of a (presumably 8-bit)
character and insert it.
^X < Scroll the window left. With an argument, sets the left margin
to the specified column.
^X = Display the current cursor position.
^X > Scroll the window right. With an argument, sets the left margin
to the specified column.
^X B Switch to the next buffer in the ring. If an argument is
supplied, do not skip over system buffers.
^X C Exit the editor. [[Invoke compiler.]]
^X E Executes the keyboard macro.
^X F Set this buffer's right margin (fill column) to the argument,
which must be explicitly provided.
^X H Help.
^X M [[Send mail.]]
^X K Kill the current buffer and move to the previous buffer in the
ring. If an argument is supplied, do not skip over system
buffers when moving to the previous buffer. If no non-system
buffers are left, the scratch buffer is automatically (re)created.
^X O Switch to the other window.
^X P [[Print the current file, don't ask for options.]]
^X Q Quote: Insert the following character as typed.
^X R [[Read mail.]]
^X T Tabify the region.
^X U Untabify the region.
^X V Switch to the previous buffer in the ring. If an argument is
supplied, do not skip over system buffers.
^X [ Outdent the region by arg spaces. If no argument, use the tab
spacing.
^X \ [[Get rid of all "^H_" strings in the buffer (used to make
UNIX man pages more readable after doing "^X ^E man title").]]
^X ] Indent the region by arg spaces. If no argument, use the tab
spacing.
^X ^ Grow the current window by arg lines.
^X ` Toggle whether gray space is visible.
^X { Convert single hard newlines to soft newlines; convert double
hard newlines to single hard newlines.
^X } Convert soft newlines to hard newlines; convert single hard
newlines to double hard newlines.
^X ^? Delete to the beginning of the current sentence.
Help Commands:
^X H ^A Build an ASCII chart.
^X H ^C Display copying information.
^X H ^F Display Free Software Foundation information.
^X H ^H Help on help.
^X H ^L Display League for Programming Freedom information.
^X H ^U Display the calculator document.
^X H ^W Display warranty information.
^X H A Apropos; ask for a string and display relevant commands.
^X H B Describe key bindings (constructed from the command
tables); does not list self-insert or bad cmds.
^X H C Display the command list document.
^X H F Ask for a key and describes what the key does.
^X H H Help on help.
^X H I Brings up the "freyja.doc" file.
^X H T Tutuorial: Brings up the "ftutoria.doc" file.
^X H X Display command cross reference information.
^X H ^? Help on help.
Meta (^[) Commands:
^[ ^A Place the mark at the beginning of the current number and the
point at the end.
^[ ^B Move backward one number.
^[ ^C [[avoid using]]
Creates a calendar for the current month in the %cal% buffer.
An argument can have one of three forms:
MM month number MM of current year
YYYY current month of year YYYY
MMYYYY month MM of year YYYY
^[ ^E Enter the current number into the calculator.
^[ ^F Move forward one number.
^[ ^G Abort: cancel ^[ prefix.
^[ ^H Delete the preceding word; copy the deleted text to the kill
buffer.
^[ ^K Delete the entire line that the point is on; copy the deleted
text to the kill buffer.
^[ ^L Refresh and recenter the screen.
^[ ^M Insert a printed copy of the number in the X register into the
buffer. If an argument is supplied, do ^[ ^A ^W first.
^[ ^N Advances the calendar by one month. If no calendar has been
established, it starts at the current month.
^[ ^P Rewinds the calendar by one month. If no calendar has been
established, it starts at the current month.
^[ ^Q [[avoid using]]
^[ ^R Query replace: ask for an old string and a new string. At
each occurence of the old string, display it and ask for a command:
Y,y,space do the replace
N,n,^H,^? skip to next
, replace, show it, and ask for Y/N confirmation
. replace and exit
! do the rest without asking
^G,^[ exit
^[ ^S [[avoid using]]
^[ ^U RPN Calculator. See the "fcalc.doc" file.
^[ ^W Append the next delete to the kill buffer instead of replacing
it.
^[ ^] With no argument, the contents of the keyboard macro are
inserted into the current buffer. Function key information is
NOT preserved. With an argument, the current buffer (or as much as
will fit) is loaded into the keyboard macro.
^[ SP Place the mark at the point.
^[ < Move to the beginning of the current buffer; set the mark to
the place that you moved from. If an argument is supplied,
move to the argth line.
^[ = Display line counts.
^[ > Move to the end of the current buffer; set the mark to
the place that you moved from. If an argument is supplied,
move to the argth line.
^[ A Move to the beginning of the current sentence.
^[ B Move backward one word.
^[ C Capitalize the following word.
^[ D Delete the following word; copy the deleted text to the kill
buffer.
^[ E Move to the end of the current sentence.
^[ F Move forward one word.
^[ G [[Ask for a line number and go to the specified line.]]
^[ H Place the point and the mark around the current paragraph.
^[ K Delete the remainder of the current sentence; copy the deleted
text to the kill buffer.
^[ L Convert the following word to lower case.
^[ Q Fill the current paragraph. ^U ^[ Q means to justify the
paragraph. ^U ^U ^[ Q means to remove the extra justification
spaces.
^[ S Center the current line.
^[ T Transpose the adjoining words.
^[ U Convert the following word to upper case.
^[ V Move up to the previous screen.
^[ W Copy the region to the kill buffer.
^[ X [[Execute extended command.]]
^[ [ Move to the beginning of the current paragraph.
^[ \ Delete the spaces and tabs around the point; insert one space.
^[ ] Move to the end of the current paragraph.
^[ ~ Clear the buffer modified flag.
^[ ^? Delete the preceding word; copy the deleted text to the kill
buffer.
Named Keys:
BS Same as ^H, also BACK SPACE.
TAB Same as ^I.
LF Same as ^J, also LINE FEED (sometimes ENTER).
CR Same as ^M, also CARRIAGE RETURN or RETURN (sometimes ENTER).
ESC Same as ^[, also ESCAPE.
DEL Same as ^?, also DELETE or RUBOUT (obsolete).
IBM PC Function Keys (MSDOS):
Ctrl-2 Place the mark at the point.
Alt-<letter> Same as ^[ <letter>
F1 Help.
F3 Delete the entire line that the point is on; copy the deleted
text to the kill buffer.
F5 Switch to the next buffer in the ring. If an argument is
supplied, do not skip over system buffers.
F6 Switch to the other window.
F7 Opens a new line with the same initial indentation as the
current line.
F8 Save the current buffer.
F9 RPN Calculator. See "fcalc.doc".
F10 Creates a calendar in the %cal% buffer for the current month.
An argument can have one of three forms:
MM month number MM of current year
YYYY current month of year YYYY
MMYYYY month MM of year YYYY
Home Move to the beginning of the current buffer; set the mark to
the place that you moved from. If an argument is supplied,
move to the argth line.
Up Arrow Move up to the preceeding line, staying in as nearly the same
column as possible.
PgUp Move up to the previous screen.
Left Arrow Move backward one character.
Right Arrow Move forward one character.
End Move to the end of the current buffer; set the mark to
the place that you moved from. If an argument is supplied,
move to the argth line.
Down Arrow Move down to the next line, staying in as nearly the same
column as possible.
PgDn View next: move down to the next screen.
Ins Open line: insert a line break, leaving the point before the
break.
Del Delete the following character.
Shift-F6 Toggle between one and two window mode.
Shift-F8 Ask for the name of a file and read it into a new buffer
whose name is derived from the file name.
Shift-F10 Exit the editor.
Ctrl-F2 Copy the region to the kill buffer.
Ctrl-F3 Delete the text between the point and the mark ("cut"); copy
the deleted text to the kill buffer.
Ctrl-F4 Yank: copy the contents of the kill buffer to the point. The
mark is left at the start of the yanked text and the point at
the end ("paste").
Ctrl-F9 Place the mark at the point.
Ctrl-Left Arrow Move backward one word.
Ctrl-Right Arrow Move forward one word.
Alt-= Display line counts.